import 'package:flutter/material.dart';
import 'package:tdesign_flutter/tdesign_flutter.dart';

Widget errorWidget({String? title}) {
  return Center(child: TDResult(title: title??'请求异常', theme: TDResultTheme.error));
}
